<%@ page contentType="text/html;charset=UTF-8" %>
<%@ include file="/common/taglibs.jsp" %>
<%@ page import="com.starbaba.core.web.tree.MenuTreeBuilder"%>
<!DOCTYPE html>
<html lang="en">
	<head>
		<title></title>
		<%
			request.setAttribute("isLRlayout",MenuTreeBuilder.isLRlayout);
		 %>
	</head>
	
<body  class="no-skin">
	<c:if test="${isLRlayout == true}">
			<div id="sidebar" class="sidebar responsive ">
	</c:if>
	<c:if test="${ isLRlayout == false}">
			<div id="sidebar" class="sidebar      h-sidebar                navbar-collapse collapse">
	</c:if>
<!--
				<script type="text/javascript">
					try{ace.settings.check('sidebar' , 'fixed')}catch(e){}
				</script>
  -->
  				<!--
			    <div class="sidebar-shortcuts" id="sidebar-shortcuts">
					<div class="sidebar-shortcuts-large" id="sidebar-shortcuts-large">
						<button class="btn btn-success">
							<i class="ace-icon fa fa-signal"></i>
						</button>

						<button class="btn btn-info">
							<i class="ace-icon fa fa-pencil"></i>
						</button>

						<button class="btn btn-warning">
							<i class="ace-icon fa fa-users"></i>
						</button>

						<button class="btn btn-danger">
							<i class="ace-icon fa fa-cogs"></i>
						</button>

					</div>
					<div class="sidebar-shortcuts-mini" id="sidebar-shortcuts-mini">
						<span class="btn btn-success"></span>

						<span class="btn btn-info"></span>

						<span class="btn btn-warning"></span>

						<span class="btn btn-danger"></span>
					</div>
				</div>
				-->
				<!-- /.sidebar-shortcuts -->

				<ul class="nav nav-list">
					<li class="" id="aa">
						<a href="javaScript:void(0)" onclick="gopage('${ctx}/system/desktop.jsp')">
							<i class="menu-icon glyphicon glyphicon-home"></i>
							<span class="menu-text"> 工作台 </span>
						</a>

						<b class="arrow"></b>
					</li>
					${treeJson}
				</ul><!-- /.nav-list -->

				<!-- #section:basics/sidebar.layout.minimize -->
				<div class="sidebar-toggle sidebar-collapse" id="sidebar-collapse">
					<i class="ace-icon fa fa-angle-double-left" data-icon1="ace-icon fa fa-angle-double-left" data-icon2="ace-icon fa fa-angle-double-right"></i>
				</div>

				<!-- /section:basics/sidebar.layout.minimize -->
				<script type="text/javascript">
					try{ace.settings.check('sidebar' , 'collapsed')}catch(e){}
				</script>	
			</div>
</body>
</html>
